package com.wuyangnju.healthclub.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class IndexController {
	
	@RequestMapping(value = { "/login.do" })
	public ModelAndView login() {
		ModelAndView modelAndView = new ModelAndView("login");
		return modelAndView;
	}

	@RequestMapping(value = { "/index.do" })
	public ModelAndView index() {
		ModelAndView modelAndView = new ModelAndView("index");
		return modelAndView;
	}

	@RequestMapping(value = { "/developer.do" }, method = RequestMethod.GET)
	public ModelAndView developer() {
		ModelAndView modelAndView = new ModelAndView("developer");
		return modelAndView;
	}
}